package com.luhy.service;

import com.luhy.mapper.CourseMapper;
import com.luhy.pojo.Course;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class CourseService {

    @Autowired
    private CourseMapper courseMapper;

    public List<Course> queryAll(){
        return courseMapper.selectAll();
    }

}
